package com.itheima.service;

import com.itheima.pojo.dto.employeeDto.EmployeeAddDto;
import com.itheima.pojo.dto.employeeDto.EmployeeLoginDto;
import com.itheima.pojo.dto.employeeDto.EmployeeUpdateDto;
import com.itheima.pojo.vo.employeeVo.EmployeeFindByIdVo;
import com.itheima.pojo.vo.employeeVo.EmployeeLoginVo;
import com.itheima.pojo.vo.employeeVo.EmployeePageVo;

import java.util.List;

public interface EmployeeService {
    EmployeeLoginVo login(EmployeeLoginDto employeeLoginDto);
    boolean add(EmployeeAddDto employeeAddDto);
    boolean update(EmployeeUpdateDto employeeUpdateDto);

    EmployeeFindByIdVo selectById(String id);
    List<EmployeePageVo> selectByPage(int page, int pageSize, String name);
}
